package com.cjx.mybatisdataauth.anno;

import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

/**
 * @author cjunxian
 * @description 权限拦截器注解
 * @date 2022/3/13
 */
@Documented
@Target(METHOD)
@Retention(RUNTIME)
public @interface DataAuth{

    /**
     * 资源点名称
     */
    String name();

}
